compiling python code

18

import py_compile

py_compile.compile("mymodule.py")
import compileall

compileall.compile_dir("mylib", force=1)

Comments

Submit
0 Comments